<?php 
	session_start();
	
	session_unset($_SESSION['userid']);
	session_unset($_SESSION['username']);
	
	session_destroy();
	setcookie("2Bet_token", "", time()-3600);
	
	header('Location: login.php');
?>